package com.kksoft.readcm.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import com.kksoft.readcm.a.Appconfig;
import com.kksoft.readcm.a.ItemAppObservable;
import com.kksoft.readcm.objects.l;
import com.kksoft.readcm.objects.n;
import com.kksoft.readcm.pro.R;

public class TagListActivity extends ListViewActivity
{
  protected final n a_()
  {
    Appconfig.getThis().getItemAppObservable().a().d();
    this.k = Appconfig.getThis().getItemAppObservable().a().a(this.b);
    return this.k;
  }

  protected final void b(Menu paramMenu)
  {
    super.b(paramMenu);
    paramMenu.add(-1, 25, 1, R.string.nm_current_list).setIcon(R.drawable.ic_menu_current_list);
    paramMenu.add(-1, 26, 2, R.string.nm_read_list).setIcon(R.drawable.ic_menu_archive);
  }

  protected final String e()
  {
    return "sortReading";
  }

  protected final void e(int paramInt)
  {
    this.k.c(d(paramInt));
    super.e(paramInt);
  }

  protected final String f()
  {
    return this.b;
  }

  protected final int j()
  {
    return 4;
  }

  protected final String l()
  {
    return String.format(getString(R.string.le_no_tagged_with_t), this.b);
  }

  protected final String m()
  {
    return null;
  }

  protected final String n()
  {
    return null;
  }

  protected final void o()
  {
    HelpActivity.a(6, this);
  }

  public void onCreate(Bundle paramBundle)
  {
    this.b = getIntent().getStringExtra("tag");
    super.onCreate(paramBundle);
    this.c.setText(this.b);
  }

  protected final String x()
  {
    return "filterReading";
  }
}